home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++-part1 / 7282 < prev    next >
Encoding:
Text File  |  1996-08-05  |  663 b   |  21 lines

  1. Newsgroups: comp.lang.c++
  2. From: Christian.Straka@uni-konstanz.de (Christian Straka)
  3. Subject: pow(-1,1.1) = DOMAIN error
  4. Date: Thu, 22 Feb 1996 16:53:16
  5. Message-ID: <Christian.Straka.15.0010E3C9@uni-konstanz.de>
  6. Organization: University of Constance
  7. X-Newsreader: Trumpet for Windows [Version 1.0 Rev A]
  8. NNTP-Posting-Host: hydra-5.rz.uni-konstanz.de
  9. Path: hydra-5.rz.uni-konstanz.de!Christian.Straka
  10.  
  11. The pow() and powl() function in <math.h> doesn't work properly. The following 
  12. example causes a DOMAIN error exception (see defs in math.h):
  13.  
  14.              pow(-1,1.1);
  15.  
  16. Has anyone an idea to fix this problem?
  17.  
  18. Christian
  19.  
  20. e-mail: Christian.Straka@uni-konstanz.de
  21.